<?php
/**
 * Created by PhpStorm.
 * User: mac
 * Date: 2018/5/9
 * Time: 下午6:19
 */

namespace app\entity;
use App;

class RunParams
{
    public $file ;
    public $method ;
    public $autoload;
    public $bootstrap;

    public static function instance()
    {
        $instance = new self() ;
        $instance->file = App::getOption("f");
        $instance->method = App::getOption("m");
        $instance->autoload = App::getOption("a");
        $instance->bootstrap = App::getOption("b");
        return $instance ;
    }
}